class Box<T> {
  T Function() creator;

  Box(this.creator);

  T create() {
    return creator();
  }
}